//
//  HLEArrayList.h
//  mj-01
//
//  Created by 宋宏康 on 2021/7/11.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HLEArrayList : NSObject

@property(nonatomic, assign) NSInteger size;

+ (instancetype)arrayList:(NSInteger)capaticy;

/// 添加元素
/// @param element 元素
- (void)add:(id)element;

/// 删除元素
/// @param index 下标
- (void)remove:(NSInteger)index;
@end

NS_ASSUME_NONNULL_END
